<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/taglibs.jsp"%>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection"content="telephone=no, email=no" />
    <title>一呼百应</title>
	<script>
	    javascript:window.history.forward(1);   
	</script>
    <link rel="stylesheet" href="${basePath}/css/common.css?v=1">
    <link rel="stylesheet" href="${basePath}/css/style.css?v=1">
</head>
<body>
	<header>
        <h1>商铺绑定</h1>
    </header>
    <div class="page">
    	<c:choose>
    		<c:when test="${bindResult.result==false}">
    			<div class="error-msg">
		            <h3>非常抱歉!<br />绑定商铺失败！</h3>
		        </div>
		        <a href="${basePath}/bind/toIndex?openid=${openid}" class="bind-btn form-btn">重新绑定</a>
		        <div class="separator"></div>
		        <p class="error-tip">请重新绑定或拨打下方电话联系客服。</p>
    		</c:when>
    		<c:otherwise>
    			<div class="success-info">
		            <h3>恭喜您!<br />已成功绑定商铺。</h3>
		        </div>
		        <a href="${basePath}/bind/toIndex?openid=${openid}" class="bind-btn form-btn">我的商铺</a>
		        <div class="separator"></div>
		        <p class="tips clearfix">
		            <em>温馨提示：</em>
		            <span class="tips-msg">点击<strong>“我的商机”</strong>菜单，可以查看您的商机信息。</span>
		        </p>
    		</c:otherwise>
    	</c:choose>
    </div>
    <footer>
        <h1>服务热线：020-62307188</h1>
    </footer>
	
<script src="${basePath}/js/zepto.min.js"></script>
<script src="${basePath}/js/all.js"></script>

</body>
</html>